package com.example.blog.until;

import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : LiuWenHao
 * @create 2023/2/27 19:52
 */
@Component
public class Random {
    public int random(int x){
        java.util.Random r = new java.util.Random();
        int z=r.nextInt(x);
        return z;
    }
}
